Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

211
Visualizações
Noise Points disappearing at certain zoom level. [HERE Maps API for Javascrip]

First of all, let's clarify the problem: I have a map that shows a cluster of points Marker Cluster Image1

When I start zooming one of the points, everything work as expected to a level of zoom over 5 km Marker Cluster Image2

When the zoom level increases to less than 5 km, the NoisePoint disappears. Marker Cluster Image3

If I keep zooming where the NoisePoint should be, after a certain level, in this case less than 100 meters, the NoisePoint is displayed again. Marker Cluster Image4

How it is built:

I have a function that takes as an argument array of objects containing lat and lng

showTruckPosition(truckDataPositionCordArray) {   
    var dataPoints = [];
    dataPoints = truckDataPositionCordArray.map((item) => {
        return new H.clustering.DataPoint(item.lat, item.lng);
    });
    var clusteredDataProvider = new H.clustering.Provider(dataPoints, {
        // min: 1,
        // max: 20,
        clusteringOptions: {
            eps: 32,
            minWeight: 2
        }
    });
    let layer = new H.map.layer.ObjectLayer(clusteredDataProvider);
    this.map.addLayer(layer);
}

Min and Max options on H.clustering.Provider do not change this strange behavior.

How to stop dies behavior? I need the Noise Points to be visible at max Zoom too.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda